package com.lsh.service.impl;

import com.lsh.mapper.CoMapper;
import com.lsh.pojo.course;
import com.lsh.service.CoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CoServiceImpl implements CoService {
    @Autowired
    private CoMapper coMapper;

    @Override
    public List<course> list() {
        return coMapper.list();
    }
}
